<?php
use oxide\plugin\PluginAbstract;
use oxide\http\Context;

class CodeHighlightPlugin extends PluginAbstract
{
   
   public function plug(Context $context) 
   {
      
   
      $this->register('ContentDefaultViewStart');
      
   }
   
   public function onContentDefaultViewStart($event, $sender, $args = null)
   {
      _html::jQuery();
      _html::script('/plugin/CodeHighlight/resource/load.js');
//      _html::script('https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?');
   }
}
?>
